package org.gwt.pluginframework.helloworld.client;

import org.gwt.pluginframework.common.Plugin;

import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;

public class HelloWorldPlugin extends Plugin {

	private static final long serialVersionUID = -113621379378206791L;

	private static final String INJECTION_POINT = "helloWorldPoint";
	
	public void setupManifest() {
		manifest.setName("HelloWorldPlugin");
		manifest.setVersion("1.0");
		manifest.setComment("My new Hello World plugin!");
	}
		
	@Override
	public void onStart() {
		RootPanel.get(INJECTION_POINT).add(new Label("Hello World!"));
	}
}
